package com.gsmr.service;

import java.util.List;
import java.util.Map;

import com.gsmr.entity.FrontProcessorInfo;
import com.gsmr.entity.FrontProcessorState;
import com.gsmr.entity.User;


/**
 * FrontProcessorInfoService
 * @author frontprocessorInfo
 *
 */
public interface FrontProcessorInfoService {

	/**
	 * 根据条件查询FrontprocessorInfo集合
	 * @param map
	 * @return
	 */
	public List<FrontProcessorInfo> find(Map<String,Object> map);
	
	/**
	 * 获取总记录数
	 * @param map
	 * @return
	 */
	public Long getTotal(Map<String,Object> map);
	
	
	/**
	 * 添加FrontprocessorInfo
	 * @param frontprocessorInfo
	 * @return
	 */
	public int add_batch(Map<String, Object> map);
	
	/**
	 * 删除FrontprocessorInfo
	 * @param id
	 * @return
	 */
	public int delete(Map<String, Object> map);

	/**
	 * 通过frontProcessorId查询FrontprocessorInfo实体
	 * @param frontProcessorId
	 * @return
	 */
	public FrontProcessorInfo findByFrontProcessorId(Map<String, Object> map);
	
	/**
	 * 修改FrontprocessorInfo
	 * @param map
	 * @return
	 */
	public int update(Map<String, Object> map);
	
	/**
	 * 获取前置机号和区域信息
	 * @param map
	 * @return
	 */
	public List<FrontProcessorInfo> findFrontProcessorIdAndSiteName(Map<String,Object> map);
	
	
}
